<?php

require_once 'DATABASE.php';

class DBConnection{
	function getConnection(){
	  //change to your database server/user name/password
	  
		mysql_connect(DATABASE::$host,DATABASE::$username,DATABASE::$password) or
         die("Could not connect: " . mysql_error());
    //change to your database name
		mysql_select_db(DATABASE::$databasename) or 
		     die("Could not select database: " . mysql_error());
	}
}
?>
